package com.fenqing.utils;

/**
 * @author fenqing
 */
public class StringToCharEncoder implements Encoder<String, Character> {

    public StringToCharEncoder() {
    }

    @Override
    public Character encoder(String input) {
        return input.charAt(0);
    }
}